package com.zjuee.web.ledger.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zjuee.base.model.common.ledger.LedgerDisposeGather;
import com.zjuee.vo.LedgerDisposeGatherVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * 处置台账汇总Mapper
 *
 * @author wu liang
 * @since 1.0
 */
@Mapper
public interface LedgerDisposeGatherMapper extends BaseMapper<LedgerDisposeGather> {
    List<LedgerDisposeGather> getList(@Param("params") LedgerDisposeGather ledgerDisposeGather);
    Page<LedgerDisposeGather> selectPageList(Page<LedgerDisposeGather> page, @Param("params") LedgerDisposeGather ledgerDisposeGather);

    List<LedgerDisposeGather> getListMap(@Param("params") LedgerDisposeGatherVo condition);

    LedgerDisposeGather findOneByCondition(@Param("params") LedgerDisposeGather ledgerDisposeGather);

    void updateBatch(ArrayList<LedgerDisposeGather> updateLedger);

    void insertBatch(ArrayList<LedgerDisposeGather> ledgerDisposeGathersInsert);
}
